package com.linjiahao.vod.client;

import com.linjiahao.commonutils.ResultMap;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-edu")
public interface EduVideoClient {

    @GetMapping("/eduservice/video/{id}")
    public ResultMap getIsFree(@ApiParam(name = "id", value = "课时ID", required = true) @PathVariable String id);
}
